//
//  JYMPointDetaController.m
//  JYFarm
//
//  Created by 花花 on 2017/10/11.
//  Copyright © 2017年 花花. All rights reserved.
//

#import "JYMPointDetaController.h"
#import "JYMPointDetaCell.h"
@interface JYMPointDetaController ()

@end

@implementation JYMPointDetaController

- (void)viewDidLoad {
    [super viewDidLoad];

    [self initUI];
}
- (void)initUI{


    self.title = @"美点明细";
    self.tableView.tableFooterView = [UIView new];
    self.tableView.rowHeight = 58;

}
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section{

    return 30;
}

-(UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath{

    JYMPointDetaCell *cell = [JYMPointDetaCell cellWithTableView:tableView];
    cell.titleLabel.text = [NSString stringWithFormat:@"支付宝支付%zd",indexPath.row];
    cell.timeLabel.text = @"2017-10-06 17:59";
    cell.moneyCountLabel.text = [NSString stringWithFormat:@"+%zd",arc4random() % 500];
    return cell;

}



@end
